package com.dqhl.community.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.dqhl.community.R;
import com.dqhl.community.base.BaseActivity;

/**
 * Created by LIENLIN on 2016/9/20.
 * 专题页-广场舞
 */
public class SquareDancingActivity extends BaseActivity implements View.OnClickListener {

    private ImageView iv_topBack;
    private ImageView iv_topOperation;
    private TextView tv_topTitle;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_square_dancing);
        initView();
    }

    private void initView() {
        tv_topTitle = (TextView) findViewById(R.id.tv_top_title);
        iv_topBack = (ImageView) findViewById(R.id.iv_top_back);

        iv_topBack.setVisibility(View.VISIBLE);
        tv_topTitle.setVisibility(View.GONE);

        iv_topBack.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.iv_top_back:
                finish();
                break;
        }
    }
}
